package entity;

import java.io.Serializable;
/**
 * 分页结果封装对象
 * @author 博
 *
 */
import java.util.List;
public class PageResult implements Serializable{

	private Long total;		//总记录数
	private List result;	//当前页的数据
	
	
	
	
	
	
	@Override
	public String toString() {
		return "PageResult [total=" + total + ", result=" + result + "]";
	}
	
	public PageResult(Long total, List result) {
		super();
		this.total = total;
		this.result = result;
	}
	
	public Long getTotal() {
		return total;
	}
	
	public void setTotal(Long total) {
		this.total = total;
	}
	
	public List getResult() {
		return result;
	}
	
	public void setResult(List result) {
		this.result = result;
	}
	
	
	
	
}
